package com.baidu.project.chart5;

public class ComputerFactory {
    public ComputerFactory() {
    }

    public void BuildComputer(Builder cb) {
        System.out.println("开始组装>>>");
        cb.setupMainBoard();
        cb.setupCPU();
        cb.setupHardDisk();
        cb.setupMemory();
        cb.setupVideoCard();
        System.out.println(">>>组装完成");
    }
}
